Class Module 35 Members

Math Complex Class

Entisoft Tools 2.0 Object Library · MathComplex · 27 Functions · 1 Properties · 6 Subroutines

Showing 35 of 35
Declarations
Declarations
These functions perform basic mathematical operations on real and/or complex numbers. Copyright 1998 Entisoft
Section
DivideByZero
Divide By Zero
For differentiating between divide-by-zero and other types of errors when testing the trig. functions. Currently defined as the Null value.
Property
Absolute
Absolute
"Absolute Value" Absolute value of a real number. Returns the norm of a complex number. Function always returns either Null or a real number.
Function
Addit
Addit
"Addition" Add two real and/or complex numbers.
Function
ApproxComplex
Approx Complex
"Approximate" Return True if two expressions are approximately equal. Compare the real and imaginary parts of complex numbers separately.
Function
Conj
Conj
"Conjugate" Conjugate of a real or complex number.
Function
CubicExpr
Cubic Expr
"Evaluate The Cubic Expression" Evaluates the expression A X^3 + B X^2 + C X + D where A, B, C, D, and X are real and/or complex numbers.
Function
CubicRoot
Cubic Root
"Root Of Cubic Equation" Returns one of the three roots of the cubic equation. Solves the equation A X^3 + B X^2 + C X + D = 0 for X. Real solutions are returned as a numeric value and complex solutions are returned as a complex number string.
Function
Div
Div
"Divide" or "Division" Divide two real and/or complex numbers.
Function
FibonacciComplex
Fibonacci Complex
"Nth Fibonacci Number" Returns the Nth Fibonacci number where N can be a floating-point or complex number.
Function
ImagPart
Imag Part
"Imaginary Part" Return the iamginery part of a complex (or real) number. Function returns 0 (zero) if the argument is a real number.
Function
Inv
Inv
"Inverse" Reciprocal of a real or complex number.
Function
IsComplex
Is Complex
Determine if the argument vX is a complex (or real) number, according to the way that complex numbers are represented within this library, which is as a string like "R|I" where R is the real part and I is the imaginary part of the number.
Function
Max2Complex
Max 2 Complex
" Maximum Of Two Numbers" Maximum of two real and/or complex numbers. Returns argument on left (vX) if the arguments are equal real numbers.
Function
Max3Complex
Max 3 Complex
" Maximum Of Three Numbers" Maximum of three Real and/or Complex numbers. Returns the leftmost of the maximum arguments if all arguments are real numbers.
Function
Min2Complex
Min 2 Complex
" Minimum Of Two Numbers" Minimum of two Real and/or Complex numbers. Returns argument on left (vX) if arguments are equal real numbers.
Function
Min3Complex
Min 3 Complex
" Minimum Of Three Numbers" Minimum of three Real and/or Complex numbers. Returns the leftmost of the minimum arguments if all arguments are real numbers.
Function
Mult
Mult
"Multiply" or "Multiplication" Multiply two real and/or complex numbers.
Function
Neg
Neg
"Negate" or "Negative" Negate a real or complex number.
Function
NthRoot
Nth Root
Return the Nth root given real and/or complex numbers.
Function
Power
Power
"X To The Power Of Y" X and Y can be real and/or complex numbers.
Function
QuadraticExpr
Quadratic Expr
"Evaluate The Quadratic Expression" Evaluates the expression A X^2 + B X + C where A, B, C, and X are real and/or complex numbers.
Function
QuadraticRoot
Quadratic Root
"Root Of Quadratic Equation" Returns one of the three roots of the cubic equation. Solves the equation A X^2 + B X + C = 0 for X. Real solutions are returned as a numeric value and complex solutions are returned as a complex number string.
Function
RealPart
Real Part
"Real Part" Return the real part of a complex (or real) number. Function returns vX unchanged if vX is already a real number.
Function
RealToComplex
Real To Complex
"Real Numbers To Complex Number" Construct a complex number string from two real numbers.
Function
Sign
Sign
Sign of a real or complex number.
Function
Sqrt
Sqrt
" Square Root" Square root of a real or complex number.
Function
Square
Square
Square of a real or complex number.
Function
Subtract
Subtract
"Subtraction" or "Minus" Real or Complex subtraction of two numbers.
Function
ComplexNumbersBenchmark
Complex Numbers Benchmark
View VB6 signature, parameters, and usage notes.
Sub
CubicRootBenchmark
Cubic Root Benchmark
View VB6 signature, parameters, and usage notes.
Sub
CubicRootSample
Cubic Root Sample
View VB6 signature, parameters, and usage notes.
Sub
PowerVerify
Power Verify
View VB6 signature, parameters, and usage notes.
Sub
QuadraticRootBenchmark
Quadratic Root Benchmark
View VB6 signature, parameters, and usage notes.
Sub
QuadraticRootSample
Quadratic Root Sample
View VB6 signature, parameters, and usage notes.
Sub