Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

High-Performance Vector & Matrix Library for Your Next Scientific Project

high-performance-vector-matrix-library-for-your-next-scientific-project

We have seen dozens of signal processing or scientific calculation applications written in Delphi, and probably most of them have utilized the OptiVec. OptiVec offers a wide range of functions for scientific use. 

The OptiVec includes the completely vectorized models of all operators and math functions of C/C++/Pascal/Delphi for all integer and floating-point data types.

OptiVec has three main groups of functions:

a: array[0..99] of Single; (* classic static array *)
b: fVector;(* VectorLib vector *)
b := VF_vector(100);
VF_equ1( @a, 100 ); (* set first 100 elements of a = 1.0 *)
VF_equC( b, 100, 3.7 ); (* set first 100 elements of b = 3.7 *)

// ------------------------------

ws: VF_NONLINFITWORKSPACE;
fopt: VF_NONLINFITOPTIONS;
V_getNonlinfitOptions( @fopt );
// at this point, modify fopt as desired...
VF_nonlinfit( ParValues, AStatus, nParameters, X, Y, sz, @ModelFunc, @DerivativeFuncs, @ws, @fopt );

Furthermore, OptiVec has recent new features:

Be sure to head over and check out the OptiVec in the GetIt portal and download it from the IDE

Exit mobile version