AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Old 09.01.2008, 22:50   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Join Date: 28.10.2006
Ruslan Goncharov: Lorenz attractor
Источник: http://rusgon.blogspot.com/2008/01/l...tor-in-ax.html
==============













The Lorenz attractor is a set of differential equations which are popular in the field of Chaos.

Following job visualize Lorenz attractor:
static void JobLorenzAttractor(Args _args)
{
#define.iterations(1000000)

#define.sigma(5)
#define.r(15)
#define.b(1)

#define.imageSizeX(300)
#define.imageSizeY(300)

Form form;
FormRun formRun;
FormDesign formDesign;

Args args;
FormBuildDesign formBuildDesign;

FormBuildWindowControl formBuildWindowControl;
FormWindowControl pane;

Image image = new Image();

void DrawAttractor()
{
real x, y, z;
int color;

real t;

real x1, y1, z1;
real dt;

int _x, _y;
;

color = 0xFF00;

x = 3.051522;
y = 1.582542;
z = 15.62388;

dt = 0.0001;

for(t=0; t0)&&(_x0)&&(_y
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruslan Goncharov: A few words about sorting codes Blog bot DAX Blogs 0 18.02.2009 21:05
Ruslan Goncharov: Dynamic enabled() property for StringEdit and arrows Blog bot DAX Blogs 0 18.04.2008 20:05
Ruslan Goncharov: Scrolling in AX 3.0 without dll Blog bot DAX Blogs 0 09.03.2008 23:20
Ruslan Goncharov: Posting InventJournal from X++ Blog bot DAX Blogs 9 27.02.2008 13:12
Ruslan Goncharov: Quick sorting in info messages Blog bot DAX Blogs 0 09.02.2008 19:11

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 01:49.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.