clif-0.1.0.0: A Clifford algebra number type for Haskell

Copyright (c) Matti A. Eskelinen 2016-2017 MIT matti.a.eskelinen@gmail.com experimental POSIX None Haskell2010

Clif.Algebra

Description

This module provides the type Clif for representing the elements of a Clifford algebra along with some standard operations.

See The inner products of geometric algebra by Leo Dorst for a concise explanation of the different inner products.

Synopsis

# The Clif type

data Clif b a Source #

A data type representing a Clif (multivector) composed of direct sum of scaled blades

Instances

# Projections

proj :: (Eq a, Basis b a, Fractional a) => Clif b a -> Clif b a -> Clif b a Source #

Projection of Clif x in the direction of Clif y, defined as

proj x y == (x <\ recip y) <\ y