quakeforge/ruamoko/gatest/metric.h
Bill Currie c1c77bd64a [gatest] Add basic geometric algebra test
This is for developing methods of implementing geometric algebra and
eventually playing with it visually.
2023-05-19 00:34:05 +09:00

16 lines
363 B
Objective-C

#ifndef __metric_h
#define __metric_h
#include <Object.h>
@interface Metric : Object
{
unsigned plus; // mask of elements that square to +1
unsigned minus; // mask of elements that square to -1
unsigned zero; // mask of elements that square to 0
}
+(Metric *)R:(int)p, int m, int z;
-(double)apply:(unsigned) a, unsigned b;
@end
#endif//__metric_h