class DiscreteField[D, DDomain[D] <: DiscreteDomain[D], A] extends PartialFunction[PointId, A]
Defines a discrete set of values, where each associated to a point of the domain.
- Self Type
- DiscreteField[D, DDomain, A]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- DiscreteField
- PartialFunction
- Function1
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DiscreteField(domain: DDomain[D], data: IndexedSeq[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[C](k: PartialFunction[A, C]): PartialFunction[PointId, C]
- Definition Classes
- PartialFunction
- def andThen[C](k: (A) => C): PartialFunction[PointId, C]
- Definition Classes
- PartialFunction → Function1
- def apply(ptId: PointId): A
- Definition Classes
- DiscreteField → Function1
- def applyOrElse[A1 <: PointId, B1 >: A](x: A1, default: (A1) => B1): B1
- Definition Classes
- PartialFunction
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compose[R](k: PartialFunction[R, PointId]): PartialFunction[R, A]
- Definition Classes
- PartialFunction
- def compose[A](g: (A) => PointId): (A) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- val data: IndexedSeq[A]
- val domain: DDomain[D]
- def elementWise: ElementWiseExtractor[PointId, A]
- Definition Classes
- PartialFunction
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- DiscreteField → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foreach(f: (A) => Unit): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def interpolate(interpolator: FieldInterpolator[D, DDomain, A]): Field[D, A]
Interpolates the discrete field using the given interpolator.
Interpolates the discrete field using the given interpolator.
- interpolator
Implements an interpolation scheme (e.g. Nearest Neighbor, B-Spline, ...)
- returns
A continuous field of the same type.
- def interpolateDifferentiable(interpolator: DifferentiableFieldInterpolator[D, DDomain, A, EuclideanVector[D]])(implicit scalar: Scalar[A]): DifferentiableField[D, A]
Interpolates the discrete field using the given interpolator.
Interpolates the discrete field using the given interpolator.
- interpolator
Implements an interpolation scheme (e.g. Nearest Neighbor, B-Spline, ...)
- returns
A continuous field of the same type.
- def isDefinedAt(ptId: PointId): Boolean
- Definition Classes
- DiscreteField → PartialFunction
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lift: (PointId) => Option[A]
- Definition Classes
- PartialFunction
- def map[B](f: (A) => B): DiscreteField[D, DDomain, B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def orElse[A1 <: PointId, B1 >: A](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
- def pointsWithIds: Iterator[(Point[D], Int)]
- def pointsWithValues: Iterator[(Point[D], A)]
- def runWith[U](action: (A) => U): (PointId) => Boolean
- Definition Classes
- PartialFunction
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → AnyRef → Any
- def transform(transformation: Transformation[D])(implicit canWarp: DomainWarp[D, DDomain], canWarpField: DiscreteFieldWarp[D, DDomain, A]): DiscreteField[D, DDomain, A]
- def unapply(a: PointId): Option[A]
- Definition Classes
- PartialFunction
- def values: Iterator[A]
- def valuesWithIds: Iterator[(A, PointId)]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()