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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Complex Matrix

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Frank_H Posted - 12/12/2007 : 08:26:57 AM
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

1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 12/12/2007 : 6:44:00 PM
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



The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000