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
 ocmath_reducexy_fixing_increbin

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
ReneM Posted - 12/06/2016 : 05:47:26 AM
Origin Ver. 2016sr2
Operating System: Win 7 64bit

Hello OriginPro Team,

if I try to use the function example from the help I get the follwing error: "too few arguments passed to function". If I add 2 further arguments (both int 0) between nSize and iOption the function is running, but I have no idea what it does.
Please can you check this and give me a hint how can I use this function.

Thank you
René
2   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 12/17/2016 : 10:53:29 AM
It is unfortunate that we had changed an existing function's argument order, something we don't usually do, sorry about that. Usually we add new argument to the end of the prototype with defaults so existing code can still work fine.

CP
yuki_wu Posted - 12/08/2016 : 12:50:04 AM
Hi René,

Our document is always applicable to the latest version of Origin.

In Origin 2016, the syntax is:

int ocmath_reducexy_fixing_increbin(const double *px, const double *pData, const UINT nSize, const double nStart, const double nEnd, const int iOption, double *pMerged, double dInc)

You can check this in:
<Origin EXE Folder>\OriginLab\Origin2016\Origin C\system\ocmath.h

Regards,
Yuki
OriginLab

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