Photon Quantum 2.1.1

Static Public Member Functions | List of all members
Photon.Deterministic.FPLut Class Reference

FP lookup table. Used internally by trigonometric and square root functions. More...

Static Public Member Functions

static void GenerateTables (string directoryPath)
 Generate lookup tables in directoryPath . More...
 
static void Init (LutProvider lutProvider)
 Initialize LUT using lutProvider . The provider needs to be able to load following paths: More...
 
static void Init (string directoryPath)
 Initialize LUT from directory directoryPath . The directory needs to have following files: More...
 

Detailed Description

FP lookup table. Used internally by trigonometric and square root functions.

Member Function Documentation

◆ Init() [1/2]

static void Photon.Deterministic.FPLut.Init ( string  directoryPath)
inlinestatic

Initialize LUT from directory directoryPath . The directory needs to have following files:

  • FPSin.bytes
  • FPCos.bytes
  • FPTan.bytes
  • FPAsin.bytes
  • FPAcos.bytes
  • FPAtan.bytes
  • FPSqrt.bytes
Parameters
directoryPath

◆ Init() [2/2]

static void Photon.Deterministic.FPLut.Init ( LutProvider  lutProvider)
inlinestatic

Initialize LUT using lutProvider . The provider needs to be able to load following paths:

  • FPSin
  • FPCos
  • FPTan
  • FPAsin
  • FPAcos
  • FPAtan
  • FPSqrt
Parameters
lutProvider

◆ GenerateTables()

static void Photon.Deterministic.FPLut.GenerateTables ( string  directoryPath)
inlinestatic

Generate lookup tables in directoryPath .

Parameters
directoryPath