文件名称:nweixiangliang
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-12-05
- 文件大小:
- 250kb
- 下载次数:
- 0次
- 提 供 者:
- 周*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个n维向量类,要求具有构造函数和拷贝构造函数,实现如下功能:
a) 成员变量为正整数n和n维float数组
b) 能够计算该向量的模(长度),并将向量单位化
c) 进行向量的加减运算
d) 计算两个向量的内积
-Preparation of an n-dimensional vector class, the constructor and copy constructor, the following functions: a) the member variables of positive integers n and n-dimensional float array b) be able to calculate the modulus (length) of the vector and vector unitised c) performing vector subtraction d) calculating the inner product of two vectors
a) 成员变量为正整数n和n维float数组
b) 能够计算该向量的模(长度),并将向量单位化
c) 进行向量的加减运算
d) 计算两个向量的内积
-Preparation of an n-dimensional vector class, the constructor and copy constructor, the following functions: a) the member variables of positive integers n and n-dimensional float array b) be able to calculate the modulus (length) of the vector and vector unitised c) performing vector subtraction d) calculating the inner product of two vectors
(系统自动生成,下载前可以参看下载内容)
下载文件列表
5\Debug\vector.exe
.\.....\vector.ilk
.\.....\vector.pdb
.\vector\Debug\CL.read.1.tlog
.\......\.....\CL.write.1.tlog
.\......\.....\link-cvtres.read.1.tlog
.\......\.....\link-cvtres.write.1.tlog
.\......\.....\link.5760-cvtres.read.1.tlog
.\......\.....\link.5760-cvtres.write.1.tlog
.\......\.....\link.5760.read.1.tlog
.\......\.....\link.5760.write.1.tlog
.\......\.....\link.read.1.tlog
.\......\.....\link.write.1.tlog
.\......\.....\mt.read.1.tlog
.\......\.....\mt.write.1.tlog
.\......\.....\rc.read.1.tlog
.\......\.....\rc.write.1.tlog
.\......\.....\vc100.idb
.\......\.....\vc100.pdb
.\......\.....\vector.exe.embed.manifest
.\......\.....\vector.exe.embed.manifest.res
.\......\.....\vector.exe.intermediate.manifest
.\......\.....\vector.lastbuildstate
.\......\.....\vector.log
.\......\.....\vector.obj
.\......\.....\vector_manifest.rc
.\......\vector.cpp
.\......\vector.vcxproj
.\......\vector.vcxproj.filters
.\......\vector.vcxproj.user
.\vector.sln
.\vector.suo
.\......\Debug
.\Debug
.\vector
5