File: log_add.html

package info (click to toggle)
torch 2-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,488 kB
  • ctags: 3,217
  • sloc: cpp: 14,272; makefile: 201
file content (22 lines) | stat: -rw-r--r-- 1,110 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>real Some simple functions for log operations.::log_add</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>real <A HREF="#DOC.DOCU">Some simple functions for log operations.::log_add</A></H2><H2>(real log_a,<BR>&nbsp; real log_b)</H2><BLOCKQUOTE>log_add(log_a,log_b) = log(a+b) = log(exp(log_a)+exp(log_b)) but done in a smart way so that if log_a or log_b are large but not their difference the computation works correctly</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>log_add(log_a,log_b) = log(a+b) = log(exp(log_a)+exp(log_b))
but done in a smart way so that if log_a or log_b are large
but not their difference the computation works correctly</BLOCKQUOTE>
<DL><DT><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>