Package by.andd3dfx.math.pde.solver
Record Class AbstractEquationSolver.KappaNu
java.lang.Object
java.lang.Record
by.andd3dfx.math.pde.solver.AbstractEquationSolver.KappaNu
- Record Components:
kappa
- coefficient for the boundary conditionnu
- right-hand side term for the boundary condition
- Enclosing class:
AbstractEquationSolver<E extends Equation>
Record class to store boundary condition parameters for the tridiagonal algorithm.
-
Constructor Summary
ConstructorsConstructorDescriptionKappaNu
(double kappa, double nu) Creates an instance of aKappaNu
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.double
kappa()
Returns the value of thekappa
record component.double
nu()
Returns the value of thenu
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
kappa
public double kappa()Returns the value of thekappa
record component.- Returns:
- the value of the
kappa
record component
-
nu
public double nu()Returns the value of thenu
record component.- Returns:
- the value of the
nu
record component
-