The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Complex Matrix
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Frank_H

Germany
Posts

Posted - 12/12/2007 :  08:26:57 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 8.0

Hi!

I tried the following:

MatrixLayer ml = CreateMatrix(...);
ml.SetInternalDataType(FSI_COMPLEX);
Matrix<complex> mat(ml);
mat.SetXMax(xmax);

Result: Compiler error: Error, external DLL cannot find function SetXMin

No such problem occurs when using type double.
Seems, some methods are not defined for complex matrices. Is there a workarround (directly setting some properties)?

Cheers,
Frank

cpyang

USA
1406 Posts

Posted - 12/12/2007 :  6:44:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
MatrixObject should be used for controlling things like XY mapping:

 

MatrixObject mo = ml.MatrixObjects(0);
mo.SetXY(x1, y1, x2, y2);




SetXMin, Max etc for Matrix<template> was older ways of doing things that we recommend not to use, since MatrixLayer and MatrixObject methods are better suited since they do not care about internal data types.


CP


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000