HyperSquareDomain

class HyperSquareDomain(lower: Buffer<Double>, upper: Buffer<Double>) : DoubleDomain

A hyper-square (or hyper-cube) real-space domain. It is formed by a Buffer of lower boundaries and a Buffer of upper boundaries. Upper should be greater or equals than lower.

Constructors

Link copied to clipboard
fun HyperSquareDomain(lower: Buffer<Double>, upper: Buffer<Double>)

Functions

Link copied to clipboard
open operator override fun contains(point: Point<Double>): Boolean

Checks if the specified point is contained in this domain.

Link copied to clipboard
open override fun getLowerBound(num: Int): Double

Global lower edge

Link copied to clipboard
open override fun getUpperBound(num: Int): Double

Global upper edge

Link copied to clipboard
open override fun volume(): Double

Hyper volume

Properties

Link copied to clipboard
val center: DoubleBuffer
Link copied to clipboard
open override val dimension: Int

Number of hyperspace dimensions.

Link copied to clipboard
val lower: Buffer<Double>
Link copied to clipboard
val upper: Buffer<Double>

Sources

Link copied to clipboard