evaluate-implicit1
function evaluateImplicit1(cs: object, x: number, y: number): number
Defined in implicit-form/evaluate/double/evaluate-implicit1.ts:22
Evaluates and returns the result of evaluating the given implicit function
(a degree 1 bivariate polynomial in x
and y
) at the point [x,y]
.
- the implicit form is given by:
vₓ*x + vᵧ*y + v
, where thevₓ
,vₓ
,v
, etc are constants
example
evaluateImplicit1({ vₓ: 1, vᵧ: 2, v: 3 }, 1, 1); //=> 6
Parameters:
Name | Type | Description |
---|---|---|
cs | { vₓ : number; vᵧ : number; v : number } | the polynomial to evaluate |
x | number | the x variable at which to evaluate |
y | number | the y variable at which to evaluate |