slash.vectorf.vectorf

Members list

Type members

Classlikes

object VecF

Attributes

Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Self type
VecF.type
object VecFFormat

Attributes

Companion
trait
Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Self type
VecFFormat.type
trait VecFFormat

Attributes

Companion
object
Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CSV
object Default
object Indexed
object TSV

Types

opaque type VecF[N <: Int]

Attributes

Source
package.scala

Exports

Defined exports

inline def apply[N <: Int](d: Float*): VecF[N]
Exported from VecF

Varargs factory for high dimensional Vector literals. Note: This is not an efficient way to create a vector.

Varargs factory for high dimensional Vector literals. Note: This is not an efficient way to create a vector.

Type parameters

N

intended vector dimension

Value parameters

d

vector value literals

Attributes

Returns

a VecF[N] consisting of the specified Float valued literals.

Source
package.scala
inline def apply[N <: Int](a: FloatArray): VecF[N]
Exported from VecF

Attributes

Source
package.scala
def blend[N <: Int](alpha: Float, v0: VecF[N], v1: VecF[N]): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def fill[N <: Int](d: Float): VecF[N]
Exported from VecF

Attributes

Source
package.scala
def mean[N <: Int]([v₀v₁⋯v₍ₙ₋₁₎]: Array[VecF[N]]): VecF[N]
Exported from VecF

Attributes

Source
package.scala
def mean[N <: Int]([v₁v₂⋯vₙ]: VecF[N]*): VecF[N]
Exported from VecF

Attributes

Source
package.scala
def midpoint[N <: Int](v0: VecF[N], v1: VecF[N]): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def ones[N <: Int](using ValueOf[N]): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def random[N <: Int](min: Float, MAX: Float, r: Random): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def random[N <: Int](min: Float, MAX: Float): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def random[N <: Int](MAX: Float): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def random[N <: Int]: VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def tabulate[N <: Int](f: Int => Float): VecF[N]
Exported from VecF

Attributes

Source
package.scala
inline def zeros[N <: Int](using ValueOf[N]): VecF[N]
Exported from VecF

Attributes

Source
package.scala