Changeset 1bd42d
- Timestamp:
- Apr 21, 2011, 4:17:23 PM (14 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 710dde
- Parents:
- dc322a
- Location:
- LinearAlgebra/src/LinearAlgebra
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LinearAlgebra/src/LinearAlgebra/MatrixVector_ops.cpp
rdc322a r1bd42d 32 32 * @param vec vector 33 33 * @param mat matrix 34 * @return \f$(\ text{vec} \cdot \text{mat})\f$34 * @return \f$(\mathrm{vec} \cdot \mathrm{mat})\f$ 35 35 */ 36 36 VectorContent const operator*(const VectorContent& vec, const MatrixContent& mat) … … 47 47 * @param mat matrix 48 48 * @param vec vector 49 * @return \f$(\ text{mat} \cdot \text{vec})\f$49 * @return \f$(\mathrm{mat} \cdot \mathrm{vec})\f$ 50 50 */ 51 51 VectorContent const operator*(const MatrixContent& mat, const VectorContent& vec) … … 62 62 * @param mat matrix 63 63 * @param vec vector 64 * @return \f$(\ text{mat} \cdot \text{vec})\f$64 * @return \f$(\mathrm{mat} \cdot \mathrm{vec})\f$ 65 65 */ 66 66 Vector const operator*(const MatrixContent &mat, const Vector &vec) … … 73 73 * @param vec vector 74 74 * @param mat matrix 75 * @return \f$(\ text{vec} \cdot \text{mat})\f$75 * @return \f$(\mathrm{vec} \cdot \mathrm{mat})\f$ 76 76 */ 77 77 Vector const operator*(const Vector &vec, const MatrixContent &mat) -
LinearAlgebra/src/LinearAlgebra/Vector.cpp
rdc322a r1bd42d 316 316 /** Calculates the angle between this and another vector. 317 317 * \param *y array to second vector 318 * \return \f$\a cos\bigl(frac{\langle x, y \rangle}{|x||y|}\bigr)\f$318 * \return \f$\arccos\bigl(frac{\langle x, y \rangle}{|x||y|}\bigr)\f$ 319 319 */ 320 320 double Vector::Angle(const Vector &y) const … … 396 396 /** factor each component of \a *this times \a m. 397 397 * \param m factor 398 * \return \f$(\ text{*this} \cdot m\f$398 * \return \f$(\mathrm{*this} \cdot m\f$ 399 399 */ 400 400 const Vector& Vector::operator*=(const double m) … … 430 430 /** Factors given vector \a *this times \a m. 431 431 * \param m factor 432 * \return \f$(\ text{*this} \cdot m)\f$432 * \return \f$(\mathrm{*this} \cdot m)\f$ 433 433 */ 434 434 const Vector Vector::operator*(const double m) const -
LinearAlgebra/src/LinearAlgebra/VectorContent.cpp
rdc322a r1bd42d 423 423 /** Calculates the squared distance to some other vector. 424 424 * @param y other vector 425 * @return \f$|(\ text{*this})-y|^2\f$425 * @return \f$|(\mathrm{*this})-y|^2\f$ 426 426 */ 427 427 double VectorContent::DistanceSquared(const VectorContent &y) const … … 445 445 * 446 446 * @param y other vector 447 * @return \f$\a cos\bigl(frac{\langle \text{*this}, y \rangle}{|\text{*this}||y|}\bigr)\f$447 * @return \f$\arccos\bigl(frac{\langle \mathrm{*this}, y \rangle}{|\mathrm{*this}||y|}\bigr)\f$ 448 448 */ 449 449 double VectorContent::Angle(const VectorContent &y) const
Note:
See TracChangeset
for help on using the changeset viewer.