Description: 使用VHDL语言描述的单精度浮点处理器。源代码来自国外网站。可实现单精度浮点数的加减乘运算。-Described in VHDL language using single-precision floating-point processor. Web site source code from abroad. Can be achieved single precision floating point addition and subtraction, multiplication. Platform: |
Size: 16384 |
Author:WeimuMa |
Hits:
Description: 自行编写一个简单的Vector3 向量类,至少需支持3D向量间的加减乘除操作,向量与标量浮点数的乘除操作,以及点乘(Dot)和叉积(Cross)以及归一化(Normalize)操作。(20 )
(2) 自行编写一个Matrix4x4矩阵类,至少需要支持矩阵间加减操作,矩阵乘操作,矩阵单位化操作(Identity,即输出一个单位矩阵),转置操作,以及矩阵与3D向量相乘的操作。(请思考为何使用4x4的矩阵,并注意其与3D向量的相乘方式,实际上,我们需要将3D向量转为4D齐次表示形式,相乘后再转换回3D形式)-Write your own vector class Vector3 a simple, at least support the 3D vector operation between addition and subtraction, multiplication and division, vector and scalar floating-point multiplication and division operations, and the dot (Dot) and cross product (Cross) and normalized (Normalize) operation . (20 ) (2) write a Matrix4x4 own matrix class, at least between the support matrix addition and subtraction operations, matrix operations, matrix units of operation (Identity, the output of a unit matrix), the transpose operation, and the matrix and 3D vector multiplication operation. (Consider Why use 4x4 matrix, and note with the 3D vector multiplication method, in fact, we need to turn 3D 4D homogeneous vector representation, and then converted back to the 3D form of multiplying) Platform: |
Size: 525312 |
Author:sun |
Hits:
Description: 计算器:
设计一个计算器,输入一个算式(包含操作数(整形、浮点数)、操作符、优先级),进行加减乘除等的基本运算,给出结果。
矩阵:
能够创建两个矩阵,实现矩阵的加减乘以及转置,赋值等功能。
教师住房管理系统:
该系统在磁盘中存贮全校住学校宿舍的教师住房信息。对每一住户存贮如下信息:户主:姓名,性别,职称(教授、副教授、讲师、助教),出生年月,参加工作年月,最后学历(博士、硕士、本科、其它);家庭成员:对每一个成员,存贮姓名、性别、出生年月:现住房等级:分居在集体宿舍|一室|一室一厅|二室|二室一厅|三室|三室一厅|。现住房面积:(单位;平方米)。当学校有房源后,各住户可提出分房申请(含姓名、申请住房的等级)。
-Calculator: design a calculator, enter a formula (contains the operand (shaping, floating-point numbers), operator priority), the basic operations of addition, subtraction, etc., given the results. Matrix: the ability to create two matrices, matrix addition and subtraction, multiplication and transpose, assignments and other functions. The teachers housing management system: The system disk storage whole school live in school dormitories, teachers' housing information. The following information for each household storage: the head of household: name, sex, title (professor, associate professor, lecturer, teaching assistants), date of birth, to participate in the work of years, the last degree (PhD, Master, Bachelor, and others) family members: of every member of the store name, gender, date of birth: now housing Level: Separated dormitory | room | Bedroom | Two-Room | Ershiyiting three-compartment | Sanshiyiting. Current housing space: ( square meters). When school listings househ Platform: |
Size: 3929088 |
Author:天才 |
Hits:
Description: 功能简介:该程序定义了一个向量类,里面的元素是模版形式,定义了有关向量类的各种属性、方法及运算符重载函数。
设计要求:
1.利用已知的向量类对象定义一个矩阵类,矩阵类的数组是向量子对象,同样定义矩阵类的各种属性、方法及运算符重载函数。
2.完善成员函数,使矩阵可以由文件输入是体的输入格式自己规定
3.完成矩阵的赋值,转置,乘法等运算,要求用整形矩阵和浮点型矩阵分别演算
更改MAIN函数结构,可以由用户选择输入矩阵数据的方式和可以连续运行,直到选择退出为止
-Features: The program defines a vector class, which the element is the template form, defining various properties related to vector class, method and operator overloading functions. Design requirements: 1. The use of a known vector class object class defines a matrix array matrix class is the quantum object class also defines various properties of the matrix, method and operator overloading functions. 2. improve the member function, so that the matrix can be input by the input file format body 3. Complete the self-imposed assignment matrix transpose, multiplication operations, requirements for plastic matrix and the matrix of floating-point calculations are changes MAIN function structure, selected by the user input data matrix manner and can run continuously until you choose to exit date Platform: |
Size: 2048 |
Author:袁亮 |
Hits: