mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 01:41:13 +00:00
This is for developing methods of implementing geometric algebra and eventually playing with it visually.
28 lines
473 B
Objective-C
28 lines
473 B
Objective-C
#ifndef __algebra_h
|
|
#define __algebra_h
|
|
|
|
#include "Object.h"
|
|
|
|
@class Metric;
|
|
@class BasisGroup;
|
|
@class BasisLayout;
|
|
|
|
@interface Algebra : Object
|
|
{
|
|
Metric *metric;
|
|
BasisGroup **grades;
|
|
BasisLayout *layout;
|
|
int num_components;
|
|
int dimension;
|
|
}
|
|
+(Algebra *) R:(int)p, int m, int z;
|
|
+(Algebra *) PGA:(int)n;
|
|
-(void) print;
|
|
-(BasisGroup *)grade:(int)k;
|
|
-(BasisLayout *)layout;
|
|
-(Metric *) metric;
|
|
-(int)count;
|
|
-(int)dimension;
|
|
@end
|
|
|
|
#endif//__algebra_h
|