Skip to content

Andy16673328152/QuaternionNumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuaternionNumber

This library is a header-only library,and provides quaternion basic operations,transcendental functions and literals.

License C++ Version Header-Only

Example code:

//You can copy this code.
#include "Quaternion.hpp"
#include <iostream>
using namespace QLiterals;
int main(){
    auto q=stoq<double>("1+2i+3j+4k");
    std::cout<<q<<std::endl;//1+2i+3j+4k
}