Safe Haskell | None |
---|---|
Language | Haskell2010 |
Nonlinear.V3
Description
Adapted from Linear.V3
Synopsis
- data V3 a = V3 {}
- cross :: Num a => V3 a -> V3 a -> V3 a
- triple :: Num a => V3 a -> V3 a -> V3 a -> a
- class R2 t => R3 t where
- _xz :: R3 t => Lens' (t a) (V2 a)
- _yz :: R3 t => Lens' (t a) (V2 a)
- _zx :: R3 t => Lens' (t a) (V2 a)
- _zy :: R3 t => Lens' (t a) (V2 a)
- _xzy :: R3 t => Lens' (t a) (V3 a)
- _yxz :: R3 t => Lens' (t a) (V3 a)
- _yzx :: R3 t => Lens' (t a) (V3 a)
- _zxy :: R3 t => Lens' (t a) (V3 a)
- _zyx :: R3 t => Lens' (t a) (V3 a)
Documentation
Instances
Monad V3 Source # | |
Functor V3 Source # | |
Applicative V3 Source # | |
Foldable V3 Source # | |
Defined in Nonlinear.V3 Methods fold :: Monoid m => V3 m -> m # foldMap :: Monoid m => (a -> m) -> V3 a -> m # foldMap' :: Monoid m => (a -> m) -> V3 a -> m # foldr :: (a -> b -> b) -> b -> V3 a -> b # foldr' :: (a -> b -> b) -> b -> V3 a -> b # foldl :: (b -> a -> b) -> b -> V3 a -> b # foldl' :: (b -> a -> b) -> b -> V3 a -> b # foldr1 :: (a -> a -> a) -> V3 a -> a # foldl1 :: (a -> a -> a) -> V3 a -> a # elem :: Eq a => a -> V3 a -> Bool # maximum :: Ord a => V3 a -> a # | |
Traversable V3 Source # | |
Eq1 V3 Source # | |
Ord1 V3 Source # | |
Defined in Nonlinear.V3 | |
Read1 V3 Source # | |
Show1 V3 Source # | |
Vec V3 Source # | |
R1 V3 Source # | |
Defined in Nonlinear.V3 | |
R2 V3 Source # | |
R3 V3 Source # | |
Bounded a => Bounded (V3 a) Source # | |
Eq a => Eq (V3 a) Source # | |
Floating a => Floating (V3 a) Source # | |
Fractional a => Fractional (V3 a) Source # | |
Data a => Data (V3 a) Source # | |
Defined in Nonlinear.V3 Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> V3 a -> c (V3 a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (V3 a) # dataTypeOf :: V3 a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (V3 a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (V3 a)) # gmapT :: (forall b. Data b => b -> b) -> V3 a -> V3 a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> V3 a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> V3 a -> r # gmapQ :: (forall d. Data d => d -> u) -> V3 a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> V3 a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> V3 a -> m (V3 a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> V3 a -> m (V3 a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> V3 a -> m (V3 a) # | |
Num a => Num (V3 a) Source # | |
Ord a => Ord (V3 a) Source # | |
Read a => Read (V3 a) Source # | |
Show a => Show (V3 a) Source # | |
Ix a => Ix (V3 a) Source # | |
Generic (V3 a) Source # | |
Semigroup x => Semigroup (V3 x) Source # | |
Monoid a => Monoid (V3 a) Source # | |
Storable a => Storable (V3 a) Source # | |
Generic1 V3 Source # | |
type Rep (V3 a) Source # | |
Defined in Nonlinear.V3 type Rep (V3 a) = D1 ('MetaData "V3" "Nonlinear.V3" "nonlinear-0.1.0-dd7wbAvLl3JZC37BHOks3" 'False) (C1 ('MetaCons "V3" 'PrefixI 'True) (S1 ('MetaSel ('Just "v3x") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: (S1 ('MetaSel ('Just "v3y") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a) :*: S1 ('MetaSel ('Just "v3z") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 a)))) | |
type Rep1 V3 Source # | |
Defined in Nonlinear.V3 type Rep1 V3 = D1 ('MetaData "V3" "Nonlinear.V3" "nonlinear-0.1.0-dd7wbAvLl3JZC37BHOks3" 'False) (C1 ('MetaCons "V3" 'PrefixI 'True) (S1 ('MetaSel ('Just "v3x") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) Par1 :*: (S1 ('MetaSel ('Just "v3y") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) Par1 :*: S1 ('MetaSel ('Just "v3z") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) Par1))) |