EuclideanVector

scalismo.geometry.EuclideanVector$
See theEuclideanVector companion class

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

trait Create[D]

creation typeclass

creation typeclass

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Create1D
object OneDSpace.type
trait Create2D
object TwoDSpace.type
trait Create3D
object ThreeDSpace.type
trait NDSpace[D]
trait Create1D extends Create[_1D]

Attributes

Graph
Supertypes
trait Create[_1D]
class Object
trait Matchable
class Any
Known subtypes
object OneDSpace.type
trait Create2D extends Create[_2D]

Attributes

Graph
Supertypes
trait Create[_2D]
class Object
trait Matchable
class Any
Known subtypes
object TwoDSpace.type
trait Create3D extends Create[_3D]

Attributes

Graph
Supertypes
trait Create[_3D]
class Object
trait Matchable
class Any
Known subtypes
object ThreeDSpace.type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
object implicits

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply[D : NDSpace](d: Array[Double])(implicit evidence$2: NDSpace[D], builder: Create[D]): EuclideanVector[D]
def apply(x: Double): EuclideanVector[_1D]
def apply(x: Double, y: Double): EuclideanVector[_2D]
def apply(x: Double, y: Double, z: Double): EuclideanVector[_3D]
def fromBreezeVector[D : NDSpace](breeze: DenseVector[Double]): EuclideanVector[D]
def fromPolar(r: Double, phi: Double): EuclideanVector[_2D]

create a Cartesian vector from polar coordinates

create a Cartesian vector from polar coordinates

Attributes

phi

azimuth, 0 .. 2*Pi

r

radial distance, 0 .. infinity

def fromSpherical(r: Double, theta: Double, phi: Double): EuclideanVector[_3D]

create a Cartesian vector from spherical coordinates

create a Cartesian vector from spherical coordinates

Attributes

phi

azimuth, 0 .. 2*Pi

r

radial distance, 0 .. infinity

theta

inclination, 0 .. Pi

def zeros[D : NDSpace](implicit evidence$3: NDSpace[D], builder: Create[D]): EuclideanVector[D]

Implicits

Implicits

implicit def spireVectorSpace[D : NDSpace]: VectorSpace[EuclideanVector[D], Double]

spire VectorSpace implementation for Vector

spire VectorSpace implementation for Vector

Attributes